package com.spsoft.workflow.model.vo.biz;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
@ApiModel("待办 需要返回给前端的VO")
public class TaskVO   {
    private static final long serialVersionUID = -5582857795442198400L;
    @ApiModelProperty("任务id")
    private String id;
    @ApiModelProperty("任务名称")
    private String name;
    @ApiModelProperty("任务id")
    private String taskId;
    @ApiModelProperty("实例id")
    private String processInstanceId;
    @ApiModelProperty("审批类型")
    private String procDefId;
    @ApiModelProperty("审批类型")
    private String procDefName;
    @ApiModelProperty("任务到达时间")
    private Date createTime;
    @ApiModelProperty("结束时间")
    private Date endTime;
    @ApiModelProperty(value = "业务流程标题")
    private String bizName;
    @ApiModelProperty(value = "流程编号")
    private String bizNum;
    @ApiModelProperty("当前节点")
    private String currentActivityName;
    @ApiModelProperty(value = "业务主键")
    private String businessKey;
    @ApiModelProperty("审批状态")
    private String businessStatus;
    @ApiModelProperty("审批状态名称")
    private String businessStatusText;
    @ApiModelProperty(value = "发起人员id")
    private Long createBy;
    @ApiModelProperty(value = "发起人员姓名")
    private String createByUserRealName;
    @ApiModelProperty(value = "耗时")
    private String duration;
}
